#header_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    overflow: hidden;
    background: -moz-linear-gradient(top,  #6293dd,  #3b65b5);
    background: -webkit-gradient(linear, left top, left bottom, from(#6293dd), to(#3b65b5));
    background-image: -o-linear-gradient(#6293dd, #3b65b5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6293dd', endColorstr='#3b65b5');
}

#header_wrapper #header_btm_wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 11px;
    background: #dfe8ed;
    border-top: 1px solid #6f747d;
}

#header_wrapper #nojs_wrapper {
}

#header_wrapper #nojs_wrapper #nojs_inner {
    width: 580px;
    height: 34px;
    margin: 10px auto 0;
    color: #000;
}

#header_wrapper #nojs_wrapper #nojs_inner h3 {
    margin: 0;
    padding: 0;
    color: #fb3f3f;
    color: #fff;
}

.ie-6 #header_wrapper,
.ie-7 #header_wrapper,
.ie-8 #header_wrapper {
    height: 114px;
}

.ie-6 #content_wrapper,
.ie-7 #content_wrapper,
.ie-8 #content_wrapper {
    top: 114px;
}

.ie-6 #header_wrapper #ie_warning,
.ie-7 #header_wrapper #ie_warning,
.ie-8 #header_wrapper #ie_warning {
    color: #fb3f3f;
    color: #fff;
    width: 580px;
    margin: 11px auto 0;
}

#header_wrapper #connections_wrapper {
}

#header_wrapper #connections_wrapper #logo_wrapper {
    float: left;
    margin: 5px;
}

#header_wrapper #connections_wrapper #connections_inner {
    margin: 0;
    padding: 0;
    padding-top: 12px;
    list-style-type: none;
}

#header_wrapper #connections_wrapper #connections_inner li {
    position: relative;
    float: left;
    margin: 0;
    margin-right: 1px;
    height: 19px;
    line-height: 18px;
    background: url('../img/tab_bg.png') repeat-x;
    border: 1px solid #6f747d;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
}

#header_wrapper #connections_wrapper #connections_inner li.select_connection {
    padding-right: 12px;
}

#header_wrapper #connections_wrapper #connections_inner li:hover {
    background: url('../img/tab_hover_bg.png') repeat-x;
}

#header_wrapper #connections_wrapper #connections_inner li.selected {
    background-image: url('../img/tab_selected_bg.png');
    border-bottom: 0;
    height: 20px;
}

#connections_wrapper #connections_inner li a {
    font-size: 8pt;
    text-decoration: none;
    color: #000;
}

#connections_wrapper #connections_inner li a.connection_name {
    padding: 0 10px 0 5px;
}

#connections_wrapper #connections_inner li a.close_connection {
    position: absolute;
    top: 4px;
    right: 5px;
    display: block;
    width: 12px;
    height: 12px;
    background-image: url('../img/close_connection.png');
    background-repeat: no-repeat;
    background-position: -12px -12px;
}

#connections_wrapper #connections_inner li a.close_connection:hover {
    background-position: -12px -0px;
}

#connections_wrapper #connections_inner li.selected a.close_connection {
    background-position: -0px -12px;
}

#connections_wrapper #connections_inner li.selected a.close_connection:hover {
    background-position: -0px -0px;
}

#header_wrapper #connections_wrapper #connections_inner li .db_icon {
    background: url('../img/db_icons.png') 0 0 no-repeat;
    margin-top: 3px;
    margin-left: 5px;
    float: left;
    height: 16px;
    width: 16px;
}

#header_wrapper #connections_wrapper #connections_inner li.mysql .db_icon {
    background-position: 0 -16px;
}

#header_wrapper #connections_wrapper #connections_inner li.solr .db_icon {
    background-position: -16px 0;
}

#header_wrapper #connections_wrapper #connections_inner li.postgre .db_icon {
    background-position: -16px -16px;
}

#header_wrapper #connections_wrapper #connections_inner li.mssql .db_icon {
    background-position: -16px -32px;
}

#header_wrapper #connections_wrapper #connections_inner li.sqlite .db_icon {
    background-position: -0px -32px;
}

#header_wrapper #connections_wrapper #connections_inner li#new_connection a {
    display: block;
    padding: 0 7px;
    margin-top: 2px;
}

#header_wrapper #connections_wrapper #logout_url {
    position: absolute;
    top: 9px;
    right: 5px;
    display: block;
    height: 15px;
    width: 15px;
    background: url('../img/sprites.png') -41px 0px no-repeat;
}

#content_wrapper {
    position: absolute;
    top: 88px;
    left: 0;
    bottom: 35px;
    width: 100%;
    overflow: hidden;
}

#content_wrapper #database_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 229px;
    padding: 10px;
    overflow: auto;
    border: 0 solid #6f747d;
    border-top-width: 1px;
    border-right-width: 1px;
}

#content_wrapper #database_wrapper #database_tree {
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper {
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li {
    padding-left: +10px;
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li.database_node_wrapper {
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li.database_node_wrapper .openclose_icon {
    float: left;
    height: 9px;
    width: 9px;
    margin-top: 3px;
    margin-right: 3px;
    background: url('../img/open_closed_sprite.png') no-repeat;
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li.database_node_wrapper .openclose_icon.open {
    background-position: -18px 0;
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li.database_node_wrapper .database_table_wrapper {
    padding-left: +10px;
}

#content_wrapper #database_wrapper #database_tree #database_list_wrapper li {
    clear: left;
}

.server_icon,
.table_icon {
    float: left;
    height: 18px;
    width: 18px;
    margin-right: 4px;
    background: url('../img/icons.png') no-repeat;
    display: none;
}

.table_icon {
    background-position: -36px 0;
}

#content_wrapper #main_login_wrapper {
    position: absolute;
    top: 0;
    left: 250px;
    right: 0;
    bottom: 0;
}

#content_wrapper #main_login_wrapper #login_header_wrapper {
    position: relative;
    background: #dfe8ed;
    height: 50px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper {
    overflow: hidden;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
    height: 24px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li .row {
    margin: 0;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li .row label {
    font-weight: bold;
    width: auto;
    line-height: 8px;
    margin-right: 5px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li .row .line {
    padding: 0;
    margin: 0;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li .row .line select#sql_connection {
    font-size: 8pt;
    margin: 0px;
}

.safari #content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li .row .line select#sql_connection {
    line-height: 19px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li.controls_icon {
    margin-top: 1px;
    margin-bottom: 5px;
    height: 24px;
    width: 24px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #controls_wrapper li select {
    width: auto;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #6f747d;
    padding-left: 5px;
    background: #dfe8ed;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs li {
    float: left;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs li a {
    display: block;
    margin-right: 1px;
    margin-bottom: -1px;
    padding: 0 10px;
    line-height: 17px;
    color: #000;
    text-decoration: none;
    font-size: 8pt;
    background: url("../img/tab_bg.png") repeat-x transparent;
    border: 1px solid #6f747d;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs li a:hover {
    background-image: url("../img/tab_hover_bg.png");
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs li.selected a {
    background-image: url("../img/tab_selected_bg.png");
    background: #fff;
    line-height: 18px;
    border-bottom: 0;
}

#content_wrapper #main_login_wrapper #login_header_wrapper #sql_tabs li.selected:hover a {
    background: -moz-linear-gradient(top,  #c5d0df,  #ffffff);
    background: -webkit-gradient(linear, left top, left bottom, from(#c5d0df), to(#ffffff));
    background-image: -o-linear-gradient(#c5d0df, #ffffff);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c5d0df', endColorstr='#ffffff');
}

#content_wrapper #main_login_wrapper #sql_wrapper {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    padding-left: 5px;
    border-bottom: 1px solid #6f747d;
}

#content_wrapper #main_login_wrapper #sql_wrapper .row {
    margin: 0;
    padding: 0;
}

#content_wrapper #main_login_wrapper #sql_wrapper .row .line {
    float: none;
    padding: 0;
    margin: 0;
    /*margin-left: 10px;
    padding-left: 10px;*/
}

#content_wrapper #main_login_wrapper #sql_wrapper textarea#sql_query {
    display: block;
    border: 0;
    width: 100%;
    resize: none;
    height: 190px;
    padding: 5px 0;
    overflow-y: scroll;
    outline: none;
}

/* Textarea work differently in Firefox annoyingly */
.firefox #content_wrapper #main_login_wrapper #sql_wrapper textarea#sql_query {
    margin-top: -5px;
    height: 200px;
}

#content_wrapper #main_login_wrapper #sql_wrapper .action-menu_wrapper {
    position: absolute;
    bottom: 5px;
    right: 20px;
}

#content_wrapper #main_login_wrapper #sql_wrapper .action-menu_wrapper .submit-button input[type='submit'] {
    background: url('../img/sprites.png') 0 -15px no-repeat;
    border: 0;
    width: 36px;
    height: 36px;
    text-indent: -1000px;
    cursor: pointer;
}

#content_wrapper #main_login_wrapper #results_extra_wrapper {
    position: absolute;
    top: 251px;
    left: -1px;
    right: 0;
    height: 43px;
    border-bottom: 1px solid #6f747d;
    background: #fff;
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs {
    position: absolute;
    bottom: -1px;
    left: 0px;
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs li {
    float: left;
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs li a {
    display: block;
    margin-right: 1px;
    padding: 5px 15px;
    line-height: 18px;
    color: #000;
    text-decoration: none;
    font-size: 8pt;
    border: 1px solid #6f747d;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    background: -moz-linear-gradient(top,  #c5d0df,  #adb6c3);
    background: -webkit-gradient(linear, left top, left bottom, from(#c5d0df), to(#adb6c3));
    background-image: -o-linear-gradient(#c5d0df, #adb6c3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c5d0df', endColorstr='#adb6c3');
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs li.selected a {
    background: #fff;
    border-bottom: 0;
    height: 19px;
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs li a:hover {
    background: -moz-linear-gradient(top,  #dbe4f1,  #c8d1de);
    background: -webkit-gradient(linear, left top, left bottom, from(#dbe4f1), to(#c8d1de));
    background-image: -o-linear-gradient(#dbe4f1, #c8d1de);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbe4f1', endColorstr='#c8d1de');
}

#content_wrapper #main_login_wrapper #results_extra_wrapper #results_tabs li.selected a:hover {
    background: #fff;
    background: -moz-linear-gradient(top,  #c5d0df,  #ffffff);
    background: -webkit-gradient(linear, left top, left bottom, from(#c5d0df), to(#ffffff));
    background-image: -o-linear-gradient(#c5d0df, #ffffff);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c5d0df', endColorstr='#ffffff');
}

#content_wrapper #main_login_wrapper #results_wrapper {
    position: absolute;
    top: 295px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}

#content_wrapper #main_login_wrapper #results_wrapper .query_results_error {
    color: #cc0000;
    font-weight: bold;
    padding: 20px;
}

#api_connect_wrapper {
    margin: 10px 0;
    text-align: center;
}

#footer_wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    font-size: 0.9em;
    border-top: 1px solid #6f747d;
    width: 100%;
    height: 34px;
    color: #333;
    background: #dfe8ed;
}

#footer_wrapper a {
    text-decoration: underline;
    color: #333;
}

#footer_wrapper a:hover {
    text-decoration: none;
}

#footer_wrapper #footer_version {
    float: left;
    margin-left: 20px;
    margin-top: 10px;
}

#footer_wrapper #browsers_wrapper {
    float: right;
    margin: 0;
    margin-top: 10px;
    margin-right: 20px;
    padding: 0;
    list-style-type: none;
    line-height: 16px;
}

#footer_wrapper #browsers_wrapper li {
    float: left;
    margin: 0 5px;
}

#footer_wrapper #browsers_wrapper li a.browser_icon {
    float: left;
}

#footer_wrapper #browsers_wrapper li .browser_version {
    float: left;
    margin-left: 5px;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper {
    margin: 0;
    padding: 0;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper .row {
    float: left;
    margin: 0;
    margin-top: -7px;
    margin-right: 10px;
    padding: 0;
}

.chrome #footer_wrapper #browsers_wrapper li#change_lang_wrapper .row {
    margin-top: -10px;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper .row label {
    width: auto;
    line-height: 8pt;
    font-weight: bold;
    margin-right: 5px;
    font-size: 8pt;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper .row .line {
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper .row .line select {
    width: auto;
    font-size: 8pt;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper noscript {
    float: left;
    margin-top: -4px;
    margin-left: -10px;
}

#footer_wrapper #browsers_wrapper li#change_lang_wrapper noscript .action-menu_wrapper {
    margin: 0;
    padding: 0;
}

#footer_wrapper #footer_copyright {
    position: absolute;
    left: 50%;
    margin-top: 10px;
    margin-left: -200px;
    width: 400px;
    text-align: center;
}






/* Login page */
#main_nologin_template {
    overflow: hidden;
}

#main_nologin_template #body_wrapper {
    margin: 50px auto;
    padding: 10px;
    width: 580px;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

#main_nologin_template #body_wrapper #form_login {
    margin: 0 auto;
    width: 466px;
}

#main_nologin_template #body_wrapper #form_login .action-menu_wrapper {
    margin-left: 152px;
}

#main_nologin_template #body_wrapper #form_login .action-menu_wrapper .action-menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#main_nologin_template #body_wrapper #form_login .action-menu_wrapper .action-menu .action-menu-row.submit-button input[type='submit'] {
    background: #8cb72d url('../img/login_icon.png') 10px center no-repeat;
    padding: 0;
    width: 312px;
    height: 40px;
    border: 0;
    margin: 0;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

#main_nologin_template #nojs_wrapper {
    background: #8cb72d;
}

#main_nologin_template #nojs_wrapper #nojs_inner {
    margin: 0 auto;
    padding: 10px;
    width: 580px;
}

#main_nologin_template #nojs_wrapper h3 {
    margin: 0;
    padding: 0;
    color: #fff;
}






/** Mobile styling **/
@media only screen and (max-width: 640px) {
}